package com.cscp.javastudy.designpattern.singleton.demo1;

/**
 * 枚举实现单例模式
 */
public enum EnumSingleton {

    INSTANCE;

    public EnumSingleton getInstance(){
        return INSTANCE;
    }

}

